JMGetCurrentEnv
Returns the currentJNIEnv
data structure.
struct JNIEnv* JMGetCurrentEnv (JMSessionRef session);
session
- The current session.
- function result
- A pointer to the
JNIEnv
data structure.DISCUSSION
TheJMGetCurrentEnv
function allows you to access the current Java Native Interface (JNI) structure. Once you have theJNIEnv
structure, you can call JNI functions. The data structureJNIEnv
is defined in the header fileJNI.h
.You can find documentation for the Java Native Interface at the Web site
SEE ALSO
"Executing Java Applications".